package day5;

/**
 * @author oldliu
 * @since 1.0
 */
public class Zhishu10000 {
    public static void main(String[] args) {
        int count=0;
        for(int i=10000;count<10;i++){
            //i是不是质数
            int j=2;
            while(j*j<=i&&i%j!=0){
                j++;
            }
            if(j*j>i){
                System.out.println(i);
                count++;
            }
        }
    }
}
